import { constantRoutes } from "@/router"
export default {
  namespaced: true,
  state:{
    menuList:[...constantRoutes]
  },
  mutations:{
    setMenuList(state,list){
      state.menuList=[...constantRoutes,...list]
    }
  }
}